package com.project.light.service;

import com.project.light.entity.System;
import com.project.light.entity.Users;

public interface LoginService {

    System getBySys(String sysId, String sysName);

    Users getUserBySys(String sysName);

    System getByToken(String token);

    void insertSystem(System entity) throws Exception;

    void updateSystem(System entity) throws Exception;

    void insertUsers(Users entity) throws Exception;

    void updateUsers(Users entity) throws Exception;
}
